// Loading...
import React, { Component } from 'react';
import { Spin } from 'antd';
import styled from 'styled-components';


class Loading extends Component {
  render() {
    return (
      <div>
        <Container>
          <Spin size="large" tip="疯狂加载中..."></Spin>
        </Container>
      </div>
    );
  }
}

// 容器样式
const Container = styled.div`
  padding-top: 20%;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
`

export default Loading;
